﻿@model SoftHotel.Models.Proveedor

@{
    ViewBag.Title = "Editar";
}

@using (Html.BeginForm())
{ 
<h1>
            <strong>Editar Proveedor</strong></h1>
    <table id="MainContent_Table3" rules="all" style="background-color: #BDBDBD; width: 900px; margin-bottom: 0px;" border="0">
	<tbody><tr>
           <td> 
		   <input type="submit" name="button"  value="Aceptar" />
           <input type="submit" name="button" value="Cancelar" />
            </td>
        	</tr>
</tbody></table>
    <table id="MainContent_Table1" rules="all" style="border-color: Black; width: 900px; margin-bottom: 0px;" border="1">
	<tbody><tr>
		<td style="font-weight: bold; width: 110px;"> Razon Social </td>
		<td style="width: 450px;">@Html.TextBoxFor(Model => Model.razon, new { Value = ViewBag.razonSocial })</td>
        <td style="font-weight: bold; width: 140px;">Representante</td>		
		<td>
		@Html.TextBoxFor(Model => Model.representante, new { Value = ViewBag.representante })
		</td> 
	</tr><tr>
		<td style="font-weight: bold; width: 110px;"> RUC </td> 
		<td style="width: 450px;">@Html.TextBoxFor(Model => Model.ruc, new { Value = ViewBag.ruc })</td>
		<td style="font-weight: bold; width: 140px;">DNI Representante</td>
		<td style="width: 200px;">@Html.TextBoxFor(Model => Model.dni, new { Value = ViewBag.dni })</td>
	</tr><tr>
		<td style="font-weight: bold;width: 110px;"> Direccion</td>
		<td style="width: 450px;">
		@Html.TextBoxFor(Model => Model.dir, new { Value = ViewBag.dir })
		</td>
		<td style="font-weight: bold; width: 140px;">Celular</td>	
		<td style="width: 200px;">@Html.TextBoxFor(Model => Model.celular, new { Value = ViewBag.cel })</td>	
	</tr><tr>
		<td style="font-weight: bold;width: 110px;"> E-mail</td>
		<td style="width: 450px;">@Html.TextBoxFor(Model => Model.mail, new { Value = ViewBag.mail })</td>
		<td style="font-weight: bold; width: 140px;">Estado</td>	
		<td style="width: 200px;">
		@Html.DropDownListFor(Model => Model.estado, new[]{
                    new SelectListItem() {Text = "Activo", Value = "Activo"},
                    new SelectListItem() {Text = "Inactivo", Value = "Inactivo"},
                    }, "Seleccione")
		</td>	
	</tr><tr>
		<td style="font-weight: bold;width: 110px;"> Telefono</td>
		<td style="width: 450px;">@Html.TextBoxFor(Model => Model.fono, new { Value = ViewBag.fono })</td>
		
	</tr>
</tbody></table>
}